﻿using System;
using QD.Framework.MVC;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace QD.Web.Management.Models.@(Model.ControllerName)
{
    public class @(Model.ExportName)
    {

		@foreach(var col in Model.Columns)
		{
			if(!col.inview){
				if(col.desc != ""){
				/// <summary>
				/// @(col.desc)
				/// </summary>
				}
			}
			if(!string.IsNullOrEmpty(col.desc)){
				@:[Display(Name="@(col.desc)")]
			}else{
				@:[Display(Name="@(col.name)")]
			}
			@("public string "+(col.name)+"{ get; set; }")

		}
			
	}
}